package controllers

import (
	"WORKSPACE/pkg/app"
	"WORKSPACE/pkg/e"
	"WORKSPACE/services"
	"github.com/gin-gonic/gin"
)

func GetAllemployesswage(c *gin.Context)  {
	err, info, total := services.GetAllemployesswage()
	if err !=nil{
		app.Error(c,e.ERROR,err,err.Error())
		return
	}
	app.OK(c, map[string]interface{}{"value": info, "total": total},"查询成功")
}